package org.visionlibrary.image.event.executors;

import org.visionlibrary.image.event.events.StopEvent;
import org.visionlibrary.image.event.listeners.StopEventListener;

public interface StopEventExecutor {
	void addStopEventListener(StopEventListener l);
	void removeStopEventListener(StopEventListener l);
	
	public class StopEventExecutorImpl extends EventExecutor<StopEvent, StopEventListener> {
		public StopEventExecutorImpl() {
			super();
		}

		@Override
		protected void __eventExecute(StopEventListener listener, StopEvent event) {
			listener.onStopEvent(event);
		}
	}
}
